package com.mantru.iotpot.Util

object MathUtil {
    fun trimLeadingZeros(numberString: String): String {
        if (numberString.isEmpty()) return numberString
        if (numberString == "0") return "0"
        return numberString.replace("^0+".toRegex(), "")
    }
}